module.exports = {
  userFormateError: {
    code: "10001",
    message: "用户名或密码为空",
    result: "",
  },
  userAlreadyExited: {
    code: "10002",
    message: "用户名已存在",
    result: "",
  },
  userRegisterError: {
    code: "10003",
    message: "用户注册错误",
    result: "",
  },
  userNotExist: {
    code: "10004",
    message: "用户不存在",
    result: "",
  },
  userLoginError: {
    code: "10004",
    message: "登录失败",
    result: "",
  },
  invalidPassword: {
    code: "10005",
    message: "密码不正确",
    result: "",
  },
  tokenExpiredError: {
    code: "10101",
    message: "TOKEN过期",
    result: "",
  },
  jsonWebTokenError: {
    code: "10102",
    message: "无效TOKEN",
    result: "",
  },
  updatePasswordError: {
    code: "10103",
    message: "修改密码失败",
    result: "",
  },
  hadNotAdminPerimisson: {
    code: "10104",
    message: "用户没有管理员权限",
    result: "",
  },
  fileUploadError: {
    code: "10201",
    message: "图片上传失败",
    result: "",
  },
  unSupportFileType: {
    code: "10202",
    message: "不支持文件格式",
    result: "",
  },
  goodsFormatError: {
    code: "10203",
    message: "参数格式错误",
    result: "",
  },
};
